<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>v_sditxss: xsdi_example.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">v_sditxss
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xsdi__example_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">xsdi_example.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file demonstrates how to use Xilinx SDI Rx Subsystem for standalone. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who    Date     Changes
</p>
<hr/>
<p>
1.00  ssh    07/05/18 Initial release.
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a9e3c02ccaf71eeda39e2524f2fb02a41"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsdi__example_8c.html#a9e3c02ccaf71eeda39e2524f2fb02a41">I2C_MUX_ADDR</a>&#160;&#160;&#160;0x74</td></tr>
<tr class="memdesc:a9e3c02ccaf71eeda39e2524f2fb02a41"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C Mux Address.  <a href="#a9e3c02ccaf71eeda39e2524f2fb02a41">More...</a><br/></td></tr>
<tr class="separator:a9e3c02ccaf71eeda39e2524f2fb02a41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71bd0b63917e21a117972939353bda39"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsdi__example_8c.html#a71bd0b63917e21a117972939353bda39">I2C_CLK_ADDR</a>&#160;&#160;&#160;0x69</td></tr>
<tr class="memdesc:a71bd0b63917e21a117972939353bda39"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C Clk Address.  <a href="#a71bd0b63917e21a117972939353bda39">More...</a><br/></td></tr>
<tr class="separator:a71bd0b63917e21a117972939353bda39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeaa94c22b1497d88bcfbda1aada5f5c3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsdi__example_8c.html#aeaa94c22b1497d88bcfbda1aada5f5c3">I2C_CLK_ADDR_570</a>&#160;&#160;&#160;0x5D</td></tr>
<tr class="memdesc:aeaa94c22b1497d88bcfbda1aada5f5c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C Clk Address for Si570.  <a href="#aeaa94c22b1497d88bcfbda1aada5f5c3">More...</a><br/></td></tr>
<tr class="separator:aeaa94c22b1497d88bcfbda1aada5f5c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a5473c6cfd6c580642133754e141ca556"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsdi__example_8c.html#a5473c6cfd6c580642133754e141ca556">ClearScreen</a> (void)</td></tr>
<tr class="memdesc:a5473c6cfd6c580642133754e141ca556"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function Clears Uart terminal screen.  <a href="#a5473c6cfd6c580642133754e141ca556">More...</a><br/></td></tr>
<tr class="separator:a5473c6cfd6c580642133754e141ca556"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bb5e8b35a95a9d610d2237baca5277c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsdi__example_8c.html#a9bb5e8b35a95a9d610d2237baca5277c">RxStreamUpCallback</a> (void *CallbackRef)</td></tr>
<tr class="memdesc:a9bb5e8b35a95a9d610d2237baca5277c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when the RX Lock occurs, it calculates the frequency wrt RxTransMode, programs SI570 with the calculated frequency and then enables Rx stream flow IPs.  <a href="#a9bb5e8b35a95a9d610d2237baca5277c">More...</a><br/></td></tr>
<tr class="separator:a9bb5e8b35a95a9d610d2237baca5277c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a088d0f25859208a2909ca497e04c30c2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsdi__example_8c.html#a088d0f25859208a2909ca497e04c30c2">RxStreamDownCallback</a> (void *CallbackRef)</td></tr>
<tr class="memdesc:a088d0f25859208a2909ca497e04c30c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when the RX loses lock, and it stops SDI Tx Subsystem.  <a href="#a088d0f25859208a2909ca497e04c30c2">More...</a><br/></td></tr>
<tr class="separator:a088d0f25859208a2909ca497e04c30c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09a07df362490e4ba97f77a9ce5edd74"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsdi__example_8c.html#a09a07df362490e4ba97f77a9ce5edd74">StartTxAfterRx</a> (void)</td></tr>
<tr class="memdesc:a09a07df362490e4ba97f77a9ce5edd74"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called to start the TX stream after the RX stream was up and running.  <a href="#a09a07df362490e4ba97f77a9ce5edd74">More...</a><br/></td></tr>
<tr class="separator:a09a07df362490e4ba97f77a9ce5edd74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef548e0580a2fece5b5e93a1d85e2693"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsdi__example_8c.html#aef548e0580a2fece5b5e93a1d85e2693">Si570_SetClock</a> (u32 IICBaseAddress, u8 IICAddress1, u32 RxRefClk)</td></tr>
<tr class="memdesc:aef548e0580a2fece5b5e93a1d85e2693"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the output frequency of the Si570 clock generator.  <a href="#aef548e0580a2fece5b5e93a1d85e2693">More...</a><br/></td></tr>
<tr class="separator:aef548e0580a2fece5b5e93a1d85e2693"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14b96491d9e48ad8fadbbb391d097ab6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsdi__example_8c.html#a14b96491d9e48ad8fadbbb391d097ab6">Info</a> (void)</td></tr>
<tr class="memdesc:a14b96491d9e48ad8fadbbb391d097ab6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function outputs the video information on TX and RX.  <a href="#a14b96491d9e48ad8fadbbb391d097ab6">More...</a><br/></td></tr>
<tr class="separator:a14b96491d9e48ad8fadbbb391d097ab6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5a9d6d2fe5ca07fead6d3d452cb9486"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsdi__example_8c.html#ae5a9d6d2fe5ca07fead6d3d452cb9486">DebugInfo</a> (void)</td></tr>
<tr class="memdesc:ae5a9d6d2fe5ca07fead6d3d452cb9486"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function outputs the debug information.  <a href="#ae5a9d6d2fe5ca07fead6d3d452cb9486">More...</a><br/></td></tr>
<tr class="separator:ae5a9d6d2fe5ca07fead6d3d452cb9486"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsdi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
<tr class="memdesc:a840291bc02cba5474a4cb46a9b9566fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main function to call example with SDI TX and SDI RX drivers.  <a href="#a840291bc02cba5474a4cb46a9b9566fe">More...</a><br/></td></tr>
<tr class="separator:a840291bc02cba5474a4cb46a9b9566fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:af693a1228d62997159300fd80ef4f912"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_sdi___menu.html">XSdi_Menu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsdi__example_8c.html#af693a1228d62997159300fd80ef4f912">SdiMenu</a></td></tr>
<tr class="memdesc:af693a1228d62997159300fd80ef4f912"><td class="mdescLeft">&#160;</td><td class="mdescRight">Menu structure.  <a href="#af693a1228d62997159300fd80ef4f912">More...</a><br/></td></tr>
<tr class="separator:af693a1228d62997159300fd80ef4f912"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a71bd0b63917e21a117972939353bda39"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_CLK_ADDR&#160;&#160;&#160;0x69</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C Clk Address. </p>

</div>
</div>
<a class="anchor" id="aeaa94c22b1497d88bcfbda1aada5f5c3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_CLK_ADDR_570&#160;&#160;&#160;0x5D</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C Clk Address for Si570. </p>

<p>Referenced by <a class="el" href="xsdi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>, and <a class="el" href="xsdi__example_8c.html#a9bb5e8b35a95a9d610d2237baca5277c">RxStreamUpCallback()</a>.</p>

</div>
</div>
<a class="anchor" id="a9e3c02ccaf71eeda39e2524f2fb02a41"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_MUX_ADDR&#160;&#160;&#160;0x74</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C Mux Address. </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a5473c6cfd6c580642133754e141ca556"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ClearScreen </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function Clears Uart terminal screen. </p>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
<p>&lt; Clear Sreen</p>
<p>&lt; Bring Cursor to 0,0 </p>

<p>Referenced by <a class="el" href="xsdi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="ae5a9d6d2fe5ca07fead6d3d452cb9486"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DebugInfo </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function outputs the debug information. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xv__sditxss_8c.html#ac8f8c2f4422c2774dcbdb711ee85cbe6">XV_SdiTxSs_ReportDebugInfo()</a>.</p>

</div>
</div>
<a class="anchor" id="a14b96491d9e48ad8fadbbb391d097ab6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Info </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function outputs the video information on TX and RX. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xv__sditxss_8c.html#a7c386b6d8ee0f89c2369422a8513337a">XV_SdiTxSs_ReportInfo()</a>.</p>

</div>
</div>
<a class="anchor" id="a840291bc02cba5474a4cb46a9b9566fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Main function to call example with SDI TX and SDI RX drivers. </p>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if SDI example was successfully.</li>
<li>XST_FAILURE if SDI example failed.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_v___sdi_tx_ss___config.html#ac217e83b31add4264129e7350e1c90ed">XV_SdiTxSs_Config::BaseAddress</a>, <a class="el" href="xsdi__example_8c.html#a5473c6cfd6c580642133754e141ca556">ClearScreen()</a>, <a class="el" href="struct_x_v___sdi_tx_ss.html#af7d89922bc62fa37fbd2bb092e4d313a">XV_SdiTxSs::Config</a>, <a class="el" href="xsdi__example_8c.html#aeaa94c22b1497d88bcfbda1aada5f5c3">I2C_CLK_ADDR_570</a>, <a class="el" href="struct_x_v___sdi_tx_ss.html#a007ef3d8344c1cbd5ab2c5d2eed76854">XV_SdiTxSs::IsReady</a>, <a class="el" href="xsdi__example_8c.html#a088d0f25859208a2909ca497e04c30c2">RxStreamDownCallback()</a>, <a class="el" href="xsdi__example_8c.html#a9bb5e8b35a95a9d610d2237baca5277c">RxStreamUpCallback()</a>, <a class="el" href="si570drv_8c.html#aef548e0580a2fece5b5e93a1d85e2693">Si570_SetClock()</a>, <a class="el" href="xsdi__example_8c.html#a09a07df362490e4ba97f77a9ce5edd74">StartTxAfterRx()</a>, <a class="el" href="xsdi__menu_8c.html#ac7968c537f9754babeb38483eb3bad49">XSdi_MenuInitialize()</a>, <a class="el" href="xsdi__menu_8c.html#ac74505e03761810c2a379695163ad041">XSdi_MenuProcess()</a>, <a class="el" href="xv__sditxss_8c.html#a4bdb55bb1af5300e000e420e35256eb8">XV_SdiTxSs_CfgInitialize()</a>, <a class="el" href="xv__sditxss_8h.html#a866da38a781ee861e5e3374ac376cbf7a3cacfc6799829a378ca48c19316db727">XV_SDITXSS_HANDLER_GTREADY</a>, <a class="el" href="xv__sditxss_8c.html#ae22807a3a551bad262834a45e20fd93b">XV_SdiTxSs_IntrDisable()</a>, <a class="el" href="xv__sditxss_8c.html#a094341039d1cd3ef11dc56b71a16775e">XV_SdiTxSs_IntrEnable()</a>, <a class="el" href="xv__sditxss_8h.html#a5fe4829ee3a2e6d471f77b4cf69c8c0f">XV_SdiTxSs_LookupConfig()</a>, <a class="el" href="xv__sditxss_8c.html#ae60511dff2276769326babf05ebf92e2">XV_SdiTxSS_SdiTxIntrHandler()</a>, <a class="el" href="xv__sditxss_8c.html#a0a8055ef29417b51170aace1338c9b25">XV_SdiTxSs_SetCallback()</a>, and <a class="el" href="xv__sditxss_8c.html#a1d4fc65e3e0bf26e83db1ae9caf2cdd9">XV_SdiTxSs_SetCoreSettings()</a>.</p>

</div>
</div>
<a class="anchor" id="a088d0f25859208a2909ca497e04c30c2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RxStreamDownCallback </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called when the RX loses lock, and it stops SDI Tx Subsystem. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallbackRef</td><td>is a callback function reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xv__sditxss_8c.html#aa665c8a153ad4e024a9b02d5fc4fb691">XV_SdiTxSs_Stop()</a>.</p>

<p>Referenced by <a class="el" href="xsdi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a9bb5e8b35a95a9d610d2237baca5277c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RxStreamUpCallback </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called when the RX Lock occurs, it calculates the frequency wrt RxTransMode, programs SI570 with the calculated frequency and then enables Rx stream flow IPs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallbackRef</td><td>is a callback function reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xsdi__example_8c.html#aeaa94c22b1497d88bcfbda1aada5f5c3">I2C_CLK_ADDR_570</a>, and <a class="el" href="si570drv_8c.html#aef548e0580a2fece5b5e93a1d85e2693">Si570_SetClock()</a>.</p>

<p>Referenced by <a class="el" href="xsdi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="aef548e0580a2fece5b5e93a1d85e2693"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Si570_SetClock </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>IICBaseAddress</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>IICAddress1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>RxRefClk</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the output frequency of the Si570 clock generator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IICBaseAddress</td><td>contains the base address of the IIC master device. </td></tr>
    <tr><td class="paramname">IICAddress1</td><td>contains the 7 bit IIC address of the Si570 device.</td></tr>
    <tr><td class="paramname">RxRefClk</td><td>contains the value to be written in Si570 register for that particular clock frequency.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>SI570_SUCCESS for success</dd>
<dd>
SI570_ERR_IIC for IIC access failure,</dd>
<dd>
SI570_ERR_FREQ when the requested frequency cannot be generated</dd>
<dd>
SI570_ERR_PARM when the ClkSrc or ClkDest parameters are invalid or the ClkInFreq or ClkOutFreq are out of range. </dd></dl>

<p>References <a class="el" href="si570drv_8h.html#a9ef1d169a38da27574eb409a2c39e4bc">SI570_DEBUG</a>, and <a class="el" href="si570drv_8c.html#a410224ed7cd70489944a0668cf3e8056">Si570_DoSettings()</a>.</p>

<p>Referenced by <a class="el" href="xsdi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>, and <a class="el" href="xsdi__example_8c.html#a9bb5e8b35a95a9d610d2237baca5277c">RxStreamUpCallback()</a>.</p>

</div>
</div>
<a class="anchor" id="a09a07df362490e4ba97f77a9ce5edd74"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StartTxAfterRx </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called to start the TX stream after the RX stream was up and running. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xv__sditxss_8c.html#a86b8ffdde3c9c91179db78f2f10f74f7">XV_SdiTxSs_GetPayloadId()</a>, <a class="el" href="xv__sditxss_8c.html#adaebb8bd7d00ac988d31f971c4a227e5">XV_SdiTxSs_GetTransport()</a>, <a class="el" href="xv__sditxss_8c.html#a3f636c31fdb5f89b29ba775c5bee0f33">XV_SdiTxSs_GetVideoStream()</a>, and <a class="el" href="xv__sditxss_8c.html#ac527da1833b83b72a0bf989e4230c8ae">XV_SdiTxSs_StreamConfig()</a>.</p>

<p>Referenced by <a class="el" href="xsdi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="af693a1228d62997159300fd80ef4f912"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_sdi___menu.html">XSdi_Menu</a> SdiMenu</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Menu structure. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
